package com.qf.hmadmin.crueManagement.crue.controller;


import com.qf.entity.crueManagement.crue.entity.ClueManage;
import com.qf.hmadmin.crueManagement.crue.page.CluePage;
import com.qf.hmadmin.crueManagement.crue.service.ClueManageService;
import com.qf.utils.R;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;
import java.util.List;

/**
 * (ClueManage)表控制层
 *
 * @author makejava
 * @since 2024-10-08 00:52:50
 */
@RestController
@RequestMapping("/crueManagement/clue")
public class ClueManageController {
    /**
     * 服务对象
     */
    @Resource
    private ClueManageService clueManageService;


    @PostMapping("/getList")
public R getListByPage(@RequestBody CluePage page){

        System.out.println("page.getPageSize()"+page.getPageSize());
   List<ClueManage>  list=  clueManageService.findAll();
   return  R.ok(list);
}



}

